package com.newproject;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.newproject.activity.ActivityA;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);

        startActivity(new Intent(this, ActivityA.class));
        finish();
    }

    @OnClick(R.id.btn_activity_a)
    public void onActivityA(View view) {
        startActivity(new Intent(this, ActivityA.class));
    }

    @OnClick(R.id.btn_send_event)
    public void onSendEvent(View view) {
    }
}
